<div class="weui-cells">
  <ng-template ngFor let-chat [ngForOf]="chats">
    <a class="weui-cell weui-cell_access" href="javascript:;" (click)='onChatClick(chat)'>
        <div class="weui-cell__hd">
            <i class="fa fa-user block-50"></i>
        </div>
        <div class="weui-cell__bd">
            <p>{{chat.name}}</p>
            <p><small>微信号：{{chat.id}}</small></p>
        </div>
    </a>
  </ng-template>
</div>